home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / os2 / fm2_25a.zip / archiver.bb2 next >
Text File  |  1996-07-11  |  18KB  |  828 lines

  1. 21
  2. ;That first line is how many lines/record in this archiver.bb2 file...
  3. ;very important, do not change.  Allows future modifications to the
  4. ;file to be transparent to older programs.
  5. ;
  6. ;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
  7. ;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
  8. ;
  9. ;format for this archiver.bb2 file (each entry has 21 lines):
  10. ;
  11. ; 1st line:  ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
  12. ; 2nd line:  normal extension for archives (like ZIP, ARC, LZH; note no period)
  13. ; 3rd line:  offset into file to signature
  14. ; 4th line:  list command
  15. ; 5th line:  extract command
  16. ; 6th line:  extract w/ directories command
  17. ; 7th line:  test archive command
  18. ; 8th line:  add/create command
  19. ; 9th line:  add/create w/ paths command
  20. ;10th line:  add/create & recurse command
  21. ;11th line:  move command
  22. ;12th line:  move w/ paths command
  23. ;13th line:  delete command
  24. ;14th line:  signature (case sensitive, leading spaces count!
  25. ;15th line:  startlist string
  26. ;16th line:  endlist string
  27. ;17th line:  old size position  (all positions 0-based, -1 = not available)
  28. ;18th line:  new size position
  29. ;19th line:  file date position[,type of date (0 for none)]
  30. ;20th line:  number of positions in dates (for "03 June 92" would be 3)
  31. ;21st line:  file name position (absolutely required, of course; -1 = last pos)
  32. ;
  33. ;a semicolon demarks a comment.  they may appear at any point *except*
  34. ;within the 21 lines of an archiver entry.  comments are ignored by AV.
  35. ;
  36. ;note that all archiver strings should include the archiver's parameter to
  37. ;prevent it from stopping for input!  also note that archive types are checked
  38. ;in order of their listing in this file.  finally, this file is set up for
  39. ;the archivers I had lying around; if yours are different versions, you may
  40. ;have to modify this file.  All archivers are OS/2 (or FAPI) versions.
  41. ;DOS archivers may work with FM/2, but it'll be up to you to set them up.
  42. ;
  43. ;date types supported:
  44. ;--------------------
  45. ;02-08-96  23:55:32            1
  46. ; 8 Feb 96 23:55:32            2
  47. ; 8 Feb 96  11:55p             3
  48. ;96-02-08 23:55:32             4
  49. ;
  50. ;
  51. ;how archive listing works (for the curious):
  52. ;
  53. ;AV first tries to find a signature match.  failing that, it checks
  54. ;to see if the file might be an ARC-format file.  If the latter, READARC.CMD
  55. ;is spawned (by XBBS) with ARC as the first argument and v as the second,
  56. ;followed by the filename (AV spawns ARC directly).  If the former, the list 
  57. ;command is sent, followed by the filename.  AV (and XBBS) then parses the
  58. ;resultant file using the start and end list lines and offsets in file lines
  59. ;listed in this file for the given archiver.
  60. ;
  61. ;Warning:  I'm told there's a bug in some versions of 4OS2 that can cause
  62. ;a call to an archiver to fail if the archiver has an extension (i.e.
  63. ;UNZIP works, UNZIP.EXE doesn't).  If things fail for no apparent reason
  64. ;and you're using 4OS2 you might keep it in mind.
  65. ;
  66. ;Sample C code to access this information is in sample.c in the AV
  67. ;distribution archive, and is free for the using in your own projects.
  68. ;
  69. ;-----------------Archiver data begins-----------------------
  70. ;
  71. ;This entry is for Zoo 2.1
  72. ;
  73. ;NOTE:  Bug in Zoo 2.1 seems to cause files stored with paths to
  74. ;be extracted w/ paths even when you don't ask it to do so...
  75. ;
  76. ;
  77. Zoo 2.1
  78. ZOO
  79. 20
  80. ZOO.EXE v
  81. ZOO.EXE xO
  82. ZOO.EXE xO/
  83. ZOO.EXE -test
  84. ZOO.Exe ah:
  85. ZOO.EXE ah
  86.  
  87. ZOO.EXE aM:h
  88. ZOO.EXE aMh
  89. ZOO.EXE -delete
  90. \xdc\xa7\xc4\xfd
  91. --------  --- --------  --------- --------
  92. --------  --- --------  --------- --------
  93. 0
  94. 2
  95. 3,2
  96. 3
  97. -1
  98. ;
  99. ; This entry is for LHarc 2.22.  Supposedly fixes bugs in earlier versions.
  100. ; Actually seems to have done so.  Good work, Peter.
  101. ;
  102. LHarc 2.22
  103. LZH
  104. 2
  105. LH.EXE /o l
  106. LH.EXE /o x
  107. LH.EXE /o /s x
  108. LH.EXE t
  109. LH.EXE /o a
  110.  
  111. LH.EXE /o /s a
  112. LH.EXE /o m
  113.  
  114. LH.EXE /o d
  115. -lh
  116.   -------- --------  -----------------------------------------
  117.   --------          -----------------------------------------
  118. 0
  119. -1
  120. 1,4
  121. 1
  122. 2
  123. ;
  124. ; Duplicate entry is for LHarc 2.22 using LH32 filename.
  125. ;
  126. LHarc-32 2.22
  127. LZH
  128. 2
  129. LH32.EXE /o l
  130. LH32.EXE /o x
  131. LH32.EXE /o /s x
  132. LH32.EXE t
  133. LH32.EXE /o a
  134.  
  135. LH32.EXE /o /s a
  136. LH32.EXE /o m
  137.  
  138. LH32.EXE /o d
  139. -lh
  140.   -------- --------  -----------------------------------------
  141.   --------          -----------------------------------------
  142. 0
  143. -1
  144. 1,4
  145. 1
  146. 2
  147. ;
  148. ; This entry is for LHarc 2.22 self-extractors.
  149. ;
  150. LHarc 2.22 SE
  151. LZH
  152. 22963
  153. LH.EXE /o l
  154. LH.EXE /o x
  155. LH.EXE /o /s x
  156. LH.EXE t
  157. LH.EXE /o a
  158.  
  159. LH.EXE /o /s a
  160. LH.EXE /o m
  161.  
  162. LH.EXE /o d
  163. -lh
  164.   -------- --------  -----------------------------------------
  165.   --------          -----------------------------------------
  166. 0
  167. -1
  168. 1,4
  169. 1
  170. 2
  171. ;
  172. ; This entry is for LHA 2.12 (DOS) self-extractors since LH 2.22 seems to
  173. ; recognize them.
  174. ;
  175. LHarc 2.12 DOS SE
  176. LZH
  177. 1638
  178. LH.EXE /o l
  179. LH.EXE /o x
  180. LH.EXE /o /s x
  181. LH.EXE t
  182. LH.EXE /o a
  183.  
  184. LH.EXE /o /s a
  185. LH.EXE /o m
  186.  
  187. LH.EXE /o d
  188. -lh
  189.   -------- --------  -----------------------------------------
  190.   --------          -----------------------------------------
  191. 0
  192. -1
  193. 1,4
  194. 1
  195. 2
  196. ;
  197. ; This entry is for LHA 2.12 (DOS) self-extractors since LH 2.22 seems to
  198. ; recognize them.
  199. ;
  200. LHarc 2.12 DOS SE
  201. LZH
  202. 37
  203. LH.EXE /o l
  204. LH.EXE /o x
  205. LH.EXE /o /s x
  206. LH.EXE t
  207. LH.EXE /o a
  208.  
  209. LH.EXE /o /s a
  210. LH.EXE /o m
  211.  
  212. LH.EXE /o d
  213. $LHarc's SFX
  214.   -------- --------  -----------------------------------------
  215.   --------          -----------------------------------------
  216. 0
  217. -1
  218. 1,4
  219. 1
  220. 2
  221. ;
  222. ; This entry is for LHA 2.13L (DOS) self-extractors since LH 2.22 seems to
  223. ; recognize them.
  224. ;
  225. LHarc 2.13 DOS SE
  226. LZH
  227. 36
  228. LH.EXE /o l
  229. LH.EXE /o x
  230. LH.EXE /o /s x
  231. LH.EXE t
  232. LH.EXE /o a
  233.  
  234. LH.EXE /o /s a
  235. LH.EXE /o m
  236.  
  237. LH.EXE /o d
  238. LHA's SFX 2.13L (c) Yoshi, 1991\r\n
  239.   -------- --------  -----------------------------------------
  240.   --------          -----------------------------------------
  241. 0
  242. -1
  243. 1,4
  244. 1
  245. 2
  246. ;
  247. ;
  248. ;This entry is for LH2 2.11.
  249. ;
  250. ;NOTE:  sometimes will put a file into an archive more than once, necessitating 
  251. ;deleting both.  EAs not handled well, but at least they're handled.
  252. ;
  253. LHarc 2.11
  254. LZH
  255. 2
  256. LH.EXE /o l
  257. LH.EXE /o x
  258. LH.EXE /o /s x
  259. LH.EXE t
  260. LH.EXE /o a
  261.  
  262. LH.EXE /o /s a
  263. LH.EXE /o m
  264.  
  265. LH.EXE /o d
  266. -lh
  267.   -------- -------- -----------------------------------------
  268.   --------          -----------------------------------------
  269. 0
  270. -1
  271. 1
  272. 1
  273. 2
  274. ;
  275. ;
  276. ;This entry is for ZIP 1.9/UNZIP 5.0 (available in 32-bit versions)
  277. ;ZIP/UNZIP should work with PKZIP 2.04 files.  Saves EAs well.  Won't
  278. ;extract a file stored with path without the path (actually, this seems
  279. ;to be fixed now.  Maybe.  There are dozens of versions floating around;
  280. ;you don't pays your money and you takes your chances).  If you have a
  281. ;version that won't extract files with paths without the paths, there's
  282. ;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
  283. ;Because of broken ZIP archives floating around everywhere, this is here
  284. ;without the version flag in the signature (should really be PK\x3\x4\x14).
  285. ;Damnit, it looks like Katz's own software is what does the botching.  So
  286. ;much for the keeper of the ZIP standard...  Zip still seems to have to
  287. ;have erratic problems with creating archives with some pathnames...
  288. ;
  289. Zip/UnZip 1.9/5.0
  290. ZIP
  291. 0
  292. UNZIP.EXE -vUo
  293. UNZIP.EXE -jo
  294. UNZIP.EXE -o
  295. UNZIP.EXE -to
  296. ZIP.EXE -j9g
  297. ZIP.EXE -9g
  298. ZIP.EXE -r9g
  299. ZIP.EXE -mj9g
  300. ZIP.EXE -m9g
  301. ZIP.EXE -d
  302. PK\x3\x4
  303.  ------  ------   ----  -----   ----    ----   ------     ----
  304.  ------          ------  ---                              -------
  305. 0
  306. 2
  307. 4,1
  308. 2
  309. 7
  310. ;
  311. ;
  312. ;Duplicate entry is for ZIP 1.9/UNZIP 5.0 using 32 filenames.
  313. ;
  314. Zip/UnZip-32 1.9/5.0
  315. ZIP
  316. 0
  317. UNZIP32.EXE -vUo
  318. UNZIP32.EXE -jo
  319. UNZIP32.EXE -o
  320. UNZIP32.EXE -to
  321. ZIP32.EXE -j9g
  322. ZIP32.EXE -9g
  323. ZIP32.EXE -r9g
  324. ZIP32.EXE -mj9g
  325. ZIP32.EXE -m9g
  326. ZIP32.EXE -d
  327. PK\x3\x4
  328.  ------  ------   ----  -----   ----    ----   ------     ----
  329.  ------          ------  ---                              -------
  330. 0
  331. 2
  332. 4,1
  333. 2
  334. 7
  335. ;
  336. ;
  337. ;This entry is for PKZIP 1.01
  338. ;
  339. PK(Un)Zip 1.01
  340. ZIP
  341. 0
  342. PKZIP.EXE -v
  343. PKUNZIP.EXE -o
  344. PKUNZIP.EXE -o -d
  345. PKUNZIP.EXE -t
  346. PKZIP.EXE -a
  347. PKZIP.EXE -a -P
  348. PKZIP.EXE -a -p -r
  349. PKZIP.EXE -m
  350. PKZIP.EXE -m -P
  351. PKZIP.EXE -d
  352. PK\x3\x4\xa
  353.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  354.  ------          ------  ---                                 -------
  355. 0
  356. 2
  357. 4
  358. 2
  359. 8
  360. ;
  361. ;
  362. ;This entry is for PKZIP 1.01 named PK(Un)Zip2
  363. ;
  364. PK(Un)Zip2 1.01
  365. ZIP
  366. 0
  367. PKZIP2.EXE -v
  368. PKUNZIP2.EXE -o
  369. PKUNZIP2.EXE -o -d
  370. PKUNZIP2.EXE -t
  371. PKZIP2.EXE -a
  372. PKZIP2.EXE -a -P
  373. PKZIP2.EXE -a -p -r
  374. PKZIP2.EXE -m
  375. PKZIP2.EXE -m -P
  376. PKZIP2.EXE -d
  377. PK\x3\x4\xa
  378.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  379.  ------          ------  ---                                 -------
  380. 0
  381. 2
  382. 4
  383. 2
  384. 8
  385. ;
  386. ;This entry is for unzipsfx self-extractors
  387. ;
  388. unzipsfx
  389.  
  390. 217
  391. UNZIP.EXE -vUo
  392. UNZIP.EXE -jo
  393. UNZIP.EXE -o
  394. UNZIP.EXE -to
  395.  
  396.  
  397.  
  398.  
  399.  
  400. ZIP.EXE -d
  401. unzipsfx
  402.  ------  ------   ----  -----   ----    ----   ------     ----
  403.  ------          ------  ---                              -------
  404. 0
  405. 2
  406. 4,1
  407. 2
  408. 7
  409. ;
  410. ;
  411. ;This entry is for PKZIP self-extractors type 1
  412. ;
  413. PK(Un)Zip SE #1
  414.  
  415. 2934
  416. PKZIP.EXE -v
  417. PKUNZIP.EXE -o
  418. PKUNZIP.EXE -o -d
  419. PKUNZIP.EXE -t
  420.  
  421.  
  422.  
  423.  
  424.  
  425. PKZIP.EXE -d
  426. PK\x3\x4
  427.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  428.  ------          ------  ---                                 -------
  429. 0
  430. 2
  431. 4
  432. 2
  433. 8
  434. ;
  435. ;This entry is for PKZIP self-extractors type 2
  436. ;
  437. PK(Un)Zip SE #2
  438.  
  439. 12784
  440. PKZIP.EXE -v
  441. PKUNZIP.EXE -o
  442. PKUNZIP.EXE -o -d
  443. PKUNZIP.EXE -t
  444.  
  445.  
  446.  
  447.  
  448.  
  449. PKZIP.EXE -d
  450. PK\x3\x4
  451.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  452.  ------          ------  ---                                 -------
  453. 0
  454. 2
  455. 4
  456. 2
  457. 8
  458. ;
  459. ;
  460. ;
  461. ;This entry is for PKZIP self-extractors type 3
  462. ;
  463. PK(Un)Zip SE #2
  464.  
  465. 30948
  466. PKZIP.EXE -v
  467. PKUNZIP.EXE -o
  468. PKUNZIP.EXE -o -d
  469. PKUNZIP.EXE -t
  470.  
  471.  
  472.  
  473.  
  474.  
  475. PKZIP.EXE -d
  476. PK\x3\x4
  477.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  478.  ------          ------  ---                                 -------
  479. 0
  480. 2
  481. 4
  482. 2
  483. 8
  484. ;
  485. ;This entry is for Unarj 2.10 ported by Scott Dudley
  486. ;
  487. (Un)Arj 2.10
  488.  
  489. 0
  490. UNARJ.EXE l
  491. UNARJ.EXE e
  492. UNARJ.EXE x
  493. UNARJ.EXE t
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500. \x60\xea
  501. ------------ ---------- ---------- ----- ----------------- -------- ---- ------
  502. ------------ ---------- ---------- ----- -----------------
  503. 1
  504. 2
  505. 4,4
  506. 1
  507. 0
  508. ;
  509. ;This entry is for Unarj 2.30 demo version.  Don't use Unarj 2.41; it's broken.
  510. ;
  511. (Un)Arj 2.30 demo
  512.  
  513. 0
  514. UNARJ.EXE l
  515. UNARJ.EXE e
  516. UNARJ.EXE x
  517. UNARJ.EXE t
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524. \x60\xea
  525. ------------ ---------- ---------- ----- ----------------- -------- -----------
  526. ------------ ---------- ---------- ----- -----------------
  527. 1
  528. 2
  529. 4
  530. 1
  531. 0
  532. ;
  533. ;This entry is for Arj 2.00 (DOS)
  534. ; Note that other programs that use this control file may not be able to
  535. ; handle calling a DOS archiver correctly!  FM/2 is the only one that I
  536. ; know of which can at this time.  This means you may need to keep FM/2's
  537. ; ARCHIVER.BB2 separate from those for other programs.
  538. ;
  539. Arj 2.00 DOS
  540. ARJ
  541. 0
  542. ARJ.EXE l
  543. ARJ.EXE e -y
  544. ARJ.EXE x -y
  545. ARJ.EXE t
  546. ARJ.EXE a -y -e
  547. ARJ.EXE a -y
  548. ARJ.EXE a -y -r
  549. ARJ.EXE m -y -e
  550. ARJ.EXE m -y
  551. ARJ.EXE d -y
  552. \x60\xea
  553. ------------ ---------- ---------- ----- ----------------- -------- ---- ------
  554. ------------ ---------- ---------- -----
  555. 1
  556. 2
  557. 4
  558. 1
  559. 0
  560. ;
  561. ;
  562. ;This entry is for RAR/2 v.1.53beta, provided by Dario Delpiano
  563. ;
  564. RAR/2 v.1.53beta
  565. RAR
  566. 0
  567. RAR.EXE l -c-
  568. RAR.EXE e -y -c- -o+
  569. RAR.EXE x -y -c- -o+
  570. RAR.EXE t -c-
  571. RAR.EXE a -ep1 -y
  572. RAR.EXE a -y
  573. RAR.EXE a -r -y
  574. RAR.EXE mf -y
  575. RAR.EXE m -y
  576. RAR.EXE d -y
  577. Rar!\x1a\x07\x00
  578. ------------------------------------------------------------------------------
  579. ------------------------------------------------------------------------------
  580. 1
  581. 2
  582. 4
  583. 1
  584. 0
  585. ;
  586. ;This entry is for RAR/2 v.1.53beta OS/2 SFX
  587. ;
  588. RAR/2 v.1.53beta OS/2 SFX
  589.  
  590. 13707
  591. RAR.EXE l -c-
  592. RAR.EXE e -y -c- -o+
  593. RAR.EXE x -y -c- -o+
  594. RAR.EXE t -c-
  595. RAR.EXE a -ep1 -y
  596. RAR.EXE a -y
  597. RAR.EXE a -r -y
  598. RAR.EXE mf -y
  599. RAR.EXE m -y
  600. RAR.EXE d -y
  601. Rar!\x1a\x07\x00
  602. ------------------------------------------------------------------------------
  603. ------------------------------------------------------------------------------
  604. 1
  605. 2
  606. 4
  607. 1
  608. 0
  609. ;
  610. ;This entry is for RAR v.1.53 DOS SFX
  611. ;
  612. RAR v.1.53 DOS SFX
  613.  
  614. 7195
  615. RAR.EXE l -c-
  616. RAR.EXE e -y -c- -o+
  617. RAR.EXE x -y -c- -o+
  618. RAR.EXE t -c-
  619. RAR.EXE a -ep1 -y
  620. RAR.EXE a -y
  621. RAR.EXE a -r -y
  622. RAR.EXE mf -y
  623. RAR.EXE m -y
  624. RAR.EXE d -y
  625. Rar!\x1a\x07\x00
  626. ------------------------------------------------------------------------------
  627. ------------------------------------------------------------------------------
  628. 1
  629. 2
  630. 4
  631. 1
  632. 0
  633. ;
  634. ;This entry is for RAR v.2.00 SFX
  635. ;
  636. RAR v.2.00 SFX
  637.  
  638. 28
  639. RAR.EXE l -c-
  640. RAR.EXE e -y -c- -o+
  641. RAR.EXE x -y -c- -o+
  642. RAR.EXE t -c-
  643. RAR.EXE a -ep1 -y
  644. RAR.EXE a -y
  645. RAR.EXE a -r -y
  646. RAR.EXE mf -y
  647. RAR.EXE m -y
  648. RAR.EXE d -y
  649. RSFXjr
  650. ------------------------------------------------------------------------------
  651. ------------------------------------------------------------------------------
  652. 1
  653. 2
  654. 4
  655. 1
  656. 0
  657. ;
  658. ;
  659. ;This entry is for ARC 5.12mpl
  660. ;
  661. Arc 5.12mpl
  662. ARC
  663. 0
  664. ARC.EXE lwn
  665. ARC.EXE ewn
  666.  
  667. ARC.EXE t
  668. ARC.EXE awn
  669.  
  670.  
  671. ARC.EXE mwn
  672.  
  673. ARC.EXE dwn
  674. \x1a
  675. ============  ========  =========
  676.         ====  ========
  677. 1
  678. -1
  679. 2,3
  680. 3
  681. 0
  682. ;
  683. ;This entry is for ARC2 (6.0)
  684. ;Note that I don't actually have a copy of this...
  685. ;
  686. Arc 6.0
  687. ARC
  688. 0
  689. ARC.EXE l
  690. ARC.EXE ewn
  691.  
  692. ARC.EXE t
  693. ARC.EXE awn
  694.  
  695.  
  696. ARC.EXE mwn
  697.  
  698. ARC.EXE dwn
  699. \x1a
  700. =================  ========  =========
  701.              ====  ========
  702. 1
  703. -1
  704. 2
  705. 3
  706. 0
  707. ;
  708. ;
  709. ;Duplicate entry is for ARC2 (6.0) using ARC2 filename.
  710. ;
  711. Arc 6.0
  712. ARC
  713. 0
  714. ARC2.EXE l
  715. ARC2.EXE ewn
  716.  
  717. ARC2.EXE t
  718. ARC2.EXE awn
  719.  
  720.  
  721. ARC2.EXE mwn
  722.  
  723. ARC2.EXE dwn
  724. \x1a
  725. =================  ========  =========
  726.              ====  ========
  727. 1
  728. -1
  729. 2
  730. 3
  731. 0
  732. ;
  733. ;-----------------Archiver data ends-----------------------
  734. ;
  735. ;
  736. ; For possible future use:
  737. ;
  738. ; Squeeze-it signature:  (Offset 0)     \x48\x4C\x53\x51\x5Ah
  739. ; HA signature:          (Offset 0)     HA
  740. ; HAP signature:         (Offset 0)     \x913HF
  741. ; HPK signature:         (Offset 0)     HPAK
  742. ; SQZ signature:         (Offset 0)     HLSQZ
  743. ; DWZ signature:         (Offset -3)    DWC
  744. ;
  745. ; No OS/2 versions available yet to my knowledge...
  746. ;
  747. ;
  748. ;
  749. ;Notes on modifying/updating this file:
  750. ;=====================================
  751. ;
  752. ;You can add as many archivers as you like to this file.
  753. ;here are some suggestions on how to go about it:
  754. ;
  755. ;list an archive with the archiver, redirecting to a disk
  756. ;file (ex. "ARC l AFILE.ARC > TEMP.").  Load the resultant
  757. ;file into a text editor.  Clip out the startlist and endlist
  758. ;strings and paste directly into this file on the appropriate
  759. ;lines; prevents errors due to typos when copying manually.
  760. ;Count the positions of filename, date, etc. and place on the
  761. ;appropriate line.  Now run the archiver redirected to a file
  762. ;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
  763. ;Look for the various command options (extract, list, etc.) and
  764. ;put them into the file on the appropriate lines -- remember to
  765. ;add the modifiers to prevent the archiver from stopping to ask
  766. ;questions!  You could be in deep doo-doo if it's a detached
  767. ;process.  While it may seem a pain in the arse to have to
  768. ;edit this file when an archiver changes its command structure
  769. ;or list format, at least it's something within your control;
  770. ;you don't have to wait for an update to AV.  That means if I
  771. ;die tomorrow you'll still be able to use AV for years to come.
  772. ;
  773. ;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
  774. ;
  775. ;----------------cut here----------------------
  776. ;Name          Length    Date
  777. ;============  ========  =========    <--this line is start-of-list
  778. ;MAKEFILE           374  28 Nov 89
  779. ;QSORT.C          14279  29 Nov 89
  780. ;QSORT.EXE        24629  29 Nov 89
  781. ;STUFF.H            371  29 Nov 89
  782. ;        ====  ========               <--this line is end-of-list
  783. ;Total      4     39653
  784. ;----------------cut here----------------------
  785. ;
  786. ;Note the filename is in position 0, old length in position 1, and the
  787. ;date starts in position 2, with 3 parts, and there's no new length
  788. ;field (so it'd be -1).  Compare that to the archiver entry for
  789. ;ARC 5.12mpl above and you should get a feel for what all those fields
  790. ;mean.  Here's a diagram of how a file line breaks down:
  791. ;
  792. ;STUFF.H            371  29 Nov 89
  793. ;  ^                 ^   ^
  794. ;  |                 |   |
  795. ;  |                 |   +--Date starts in field 2, 3 parts (29, Nov, and 89)
  796. ;  |                 |
  797. ;  |                 +--Old file length, field 1
  798. ;  |
  799. ;  +--Filename, field 0 (count from 0, not 1)
  800. ;
  801. ;
  802. ;If you're adding an entirely new archive format, note that you can
  803. ;use 'C'-style \x<hexnumber> on the signature line in this file.
  804. ;For example, the \x1a in ARC 5.12mpl's signature line means AV will
  805. ;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
  806. ;indicated by ARC's line 3, the offset into a file for the signature)
  807. ;of a file to determine if it's an archive.  If line 3's offset is
  808. ;negative, AV looks from the end of the file instead of the beginning.
  809. ;You can usually figure out what an archiver's signature is by looking
  810. ;at a few archives with a file viewing program like Vernon Buerg's 
  811. ;LIST.  By all means send me anything new you figure out for inclusion
  812. ;in future releases.
  813. ;
  814. ;
  815. ;You can have several entries for one type of archive in this file.  AV
  816. ;tries entries sequentially to list the file until it finds one that works.
  817. ;If the first entry for a signature doesn't work, and AV finds one that
  818. ;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
  819. ;to make future accesses faster.  This allows me to list everything I can
  820. ;get entries for and let AV sort out what the user actually has that works.
  821. ;It also lets you, the user, create archives with more than one archiver that
  822. ;produces the same sort of archive (or with different switches, like one with
  823. ;LHArc producing -lh5- compression and one with it producing old, compatible
  824. ;-lh1- compression).
  825. ;
  826. ;
  827. ;always end file with blank line or comment
  828.